from rosa.scarborough_fair.status.types.response import BaseResponse


class SiteException(Exception):
    def __init__(self, status_code: int, response: BaseResponse, headers: dict[str, str] | None = None):
        self.status_code = status_code
        self.headers = headers
        self.response = response
